<?php


namespace app\admin\model;


use think\Model;
use think\model\concern\SoftDelete;
use think\model\relation\HasMany;

class FileType extends Model
{
    use SoftDelete;
    protected $name = 'file_types';

    public function profile()
    {
        return $this->hasMany(File::class,'file_type_id');
    }
}